<script setup>
import { onMounted } from 'vue'
onMounted(()=>{
  console.log('挂载')
  console.log(document.querySelector('.mytest'))
})
onMounted(()=>{
  console.log(33,'挂载')
  console.log(document.querySelector('.mytest'))
})
</script>

<template>
<div class="mytest">
  hello vue
</div>
</template>

<style scoped>
</style>